package controllers;

import models.User;
import play.mvc.With;

import common.FBSecure;

@With(FBSecure.class)
public class Admin extends FBController {

    public static void index() {
        
        setFbIdandName();
        
        User user = getUser();
        
        if (user.getFacebookID().equals("1434862767") || 		// Tolgahan
        	user.getFacebookID().equals("100004553169745")) {   // Göksel
        	
            render("CRUD/index.html");
        }
      	
        else {
        	renderHtml("Not Allowed");
        }
        
      }
	
}